home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / pc_board / pcbdbas1.zip / PCBDBASE.DOC < prev    next >
Text File  |  1992-02-01  |  18KB  |  355 lines

  1.                       PCBDBASE 'PCBoard USERS DataBase'
  2.  
  3.                                 Version 1.1
  4.                                by Barry Young
  5.                              System Support BBS
  6.                           PCBoard 3-node vrs 14.5a
  7.                            Westminster, Colorado
  8.                                (303)-469-9359
  9.                                   02/01/92
  10.  
  11.  
  12.         Thank you for downloading this program! This program was originally
  13. designed  for  my personal use  to help me  in searching various statistics
  14. about the callers on my board. The PCBSM program that comes with PCBoard is
  15. a very good  User Maintenance program, but when wanting to search for  info
  16. on more  than one user, or  on more than one particular user field, I would
  17. have  to run multiple searches. There are some other  Shareware/PD packages
  18. out there that were of use, but none that I had found, would do my multiple
  19. searches, or was too complicated to use easily.
  20.  
  21.         I  originally intended  on writing a simple program, but had gotten
  22. carried  away  with it. There  may  be  more enhancements/features  to this
  23. DataBase  program  as time  goes by, whether  from  my  own ideas, or  from
  24. feedback from fellow sysops that have tried this package out.
  25.  
  26.         As  you  read this  manual, you  will find  that I, as  many others,
  27. am  not fond  of creating documentation, and  prefer  to  get  to the point.
  28. I  will try  to make the setup and procedures  to this package as easily as
  29. possible so that you can get it going and experiment with it.
  30.  
  31. The files included in this ZIP'ped package are:
  32.  
  33. PCBDBASE.EXE  (main program)
  34. PCBDBASE.HLP  (help file on the various variables for searching)
  35. PCBDBASE.DOC  (the manual that you are presently reading)
  36. PCBDBASE.CFG  (sample configuration file, although not required)
  37. SUPPORT       (my BBS advertisement and logon screen)
  38. PCBDBASE.OUT  (sample output from database run)
  39. PCBDBASE.EX   (sample Exclusion variable file)
  40.  
  41. This  is a ShareWare package. I  currently have four other PCBoard utilities
  42. available, in  which  are Public Domain packages. The non-registered version
  43. (provided  for being passed  around the  BBS  world) has  three differences.
  44. One being the heading of the output (screen or printout). The non-registered
  45. version will state 'NON-REGISTERED' whereas the registered version will list
  46. your  BBS Name. The  second one being the registered version will store your
  47. Input variables  and options  in the configuration file (.CFG)  after it has
  48. completed the run. This will save time in having to re-input your selections
  49. each time  you  run the program. This  is also quite handy if you select the
  50. program to create a File output (instead of screen or printout) in which you
  51. can  copy  the output file  to be listed  as  one of your BBS Bulletins. The
  52. third feature of the registered version allows you to re-run the program
  53. without having to reload it from the DOS prompt, in case you want to check
  54. on more than one outputted result. When you register this package with me, I
  55. will  mail  you the latest version  of the program and the .KEY file.
  56.  
  57. Files being accessed from this package:
  58.  
  59. The only two files required to run this program are the PCBDBASE.EXE and the
  60. PCBDBASE.HLP files. They  can be stored in any subdirectory, although I keep
  61. mine in my \PCB directory. They, in turn, will create two sort files, called
  62. SORTTEMP and SORTOUT. The two sort files can be deleted upon completion, but
  63. I  just leave them alone. The  next time  you  run the program, they will be
  64. replaced with the latest execution. If  you want provided  defaults  for the
  65. program, you  can create  a PCBDBASE.CFG  (configuration file)  that will be
  66. read in  by the program  (if found in the same directory as the program is).
  67. The  program  will then allow you to hit the <ENTER> to accept the defaults,
  68. or allow you to over-ride them with your new Input variables. The registered
  69. version  will store  your new inputs  for your next run. This  will save you
  70. from having to re-input the Input variables each time.
  71. The PCBoard USERS file  will be accessed (read (share) only mode)  to search
  72. for your selections. It will NOT be written to or modified in any fashion.
  73. In the future, I may provide an option to update the USER records  depending
  74. upon your selections.
  75. If  you select to create  a File Output option, it will create a file called
  76. PCBDBASE.OUT  in the same directory as the program. This  file can be viewed
  77. or printed or copied to one of your BLT (bulletin) files to be viewed  while
  78. online your BBS. I  currently  use the program  to find users that have gone
  79. over  the File Upload/Download Ratio  and create a bulletin for me in my own
  80. private conference.
  81.  
  82. ____________________________________________________________________
  83. PCBDBASE.CFG  File Layout:
  84.  
  85.  0                    <1> <Automatic/Manual mode>
  86. D:\PCB\MAIN\USERS     <2> <USERS drive:\path\filename location>
  87. ACCLVL                <3> <1 of 3 Variable selections>
  88. <                     <4> <1 of 3 Variable criteria>
  89. 10                    <5> <1 of 3 Variable searches>
  90. FDN/FUP               <6> <2 of 3 Variable selections>
  91. >                     <7> <2 of 3 Variable criteria>
  92. 19                    <8> <2 of 3 Variable searches>
  93. LDATE                 <9> <3 of 3 Variable selections>
  94. <                    <10> <3 of 3 Variable criteria>
  95. 040191               <11> <3 of 3 Variable searches>
  96. A                    <12> <AND OR option if two Variables>
  97. A                    <13> <AND OR option if three Variables>
  98. ACCLVL               <14> <1 of 6 Output Variables>
  99. FDN/FUP              <15> <2 of 6 Output Variables>
  100. LDATE                <16> <3 of 6 Output Variables>
  101. NAME                 <17> <4 of 6 Output Variables>
  102. FILESDN              <18> <5 of 6 Output Variables>
  103. FILESUP              <19> <6 of 6 Output Variables>
  104. N                    <20> <Re-Run program after? (Yes or No)
  105. F                    <21> <Output results:Screen,File,Printer>
  106. ____________________________________________________________________
  107.  
  108. If you not require all three sets of Variable selections, then  just
  109. blank out the field records in the .CFG file. This also goes for the
  110. AND/OR  records, and  same  for the  Output Variables. In  the above
  111. example .CFG file, I am using every option.
  112.  
  113. The 1st record is normally set to 0. If it has a 1, the program will
  114. automatically  run the program and exit back to DOS. It will not ask
  115. for any input options. This would be useful for SysOps that want the
  116. program  to create a Bulletin file  during their daily Event without
  117. requiring operator input. If there was a 0 there, the program  would
  118. be waiting for the operator.
  119. You will need to use your own editor to change this variable.
  120.  
  121. If you wanted to run this program more than once, using different
  122. variables, for more than one Bulletin file, the following is an
  123. example of the procedure:
  124.  
  125. CD\PCB
  126. COPY PCBDBASE.CF1 PCBDBASE.CFG
  127. PCBDBASE
  128. COPY PCBDBASE.OUT \PCB\GEN\BLT10
  129. COPY PCBDBASE.CF2 PCBDBASE.CFG
  130. PCBDBASE
  131. COPY PCBDBASE.OUT \PCB\GEN\BLT11
  132.  
  133. This assumes  that you had created two .CFG files, one being labeled
  134. PCBDBASE.CF1  and  another  PCBDBASE.CF2. It  also  assumes that you
  135. wanted to have two bulletins available for online viewing. One being
  136. BLT10 (bulletin #10) and BLT11 (bulletin #11).
  137.  
  138. The 2nd record  is  the  location  of the  BBS USERS file, including
  139. drive, subdirectory, and filename.
  140.  
  141. The 3rd thru 11th records are to tell the program what to search for.
  142. You are  only required to have 1 of 3 Search Variables. In the above
  143. configuration file, I had elected to search for 3 variables:
  144. ACCLVL
  145. FDN/FUP
  146. LDATE
  147. Each variable  will  require a criteria condition. In the above case,
  148. the program  will only  look for users that have an Access Level less
  149. than  10  on the 1st variable. Each  variable  also  requires what to
  150. search for, based on the Variable and Condition. In  this case, I was
  151. only  looking  for Users that had an  access level  less than 10, AND
  152. that their  Files Downloaded to Files Uploaded ratio  was  worse than
  153. 19/1  AND  that they hadn't been online  (LAST-TIME-ON) since  before
  154. 04/01/91.
  155.  
  156. The 12th and 13th variables will only be required if you are searching
  157. for  more  than one Variable. There  are two conditions: AND or OR. In
  158. the above options, I wanted to search for:
  159. ACCLVL < 10
  160.    AND
  161. FDN/FUP > 19
  162.    AND
  163. LDATE < 040191
  164.  
  165. If I had used the OR condition, the program would have searched for any
  166. one of the 3 selections. Another example:
  167. ACCLVL < 10
  168.   AND
  169. FDN/FUP > 19
  170.   OR
  171. LDATE < 040191
  172.  
  173. That  would  have  found anyone with (  ACCLVL < 10  AND  FDN/FUP > 19)
  174. OR   anyone  that  had  not  been  online  (LDATE) since before 040191.
  175.  
  176. The 14th thru 19th variables  are  for the output report. You  can have
  177. up to 6 variables  being reported upon. You  are only  required to have
  178. one variable. The  program  will  sort  the  output  based upon the 1st
  179. variable. In  the above example, I wanted  the report to  be  sorted by
  180. ACCLVL.
  181.  
  182. The 20th option  is only valid to registered versions. If  it is set to
  183. Y (yes),the program will re-run after completion (keeping your previous
  184. Input selections). If N (no), it will return back to DOS.
  185.  
  186. The 21st (last option) is used for your output. (S) for screen display,
  187. (F) for file output (PCBDBASE.OUT will be the name), or (P) for printer
  188. output.
  189.  
  190. If you elected for the File output, you could then COPY the PCBDBASE.OUT
  191. file  to one  of your BLTxx (bulletins) to be displayed while online the
  192. BBS.
  193.  
  194. The PCBDBASE.CFG file is NOT required. If found, the program will use its
  195. options  within the program for Defaults, in which can be manually over-
  196. written by you.
  197.  
  198. Provided is a sample PCBDBASE.OUT output file from the above conditions:
  199.  
  200.   PCBoard 14.5  USERS  DATABASE  Registered to System Support BBS
  201.   by Barry Young │ System Support BBS  Version    1.0ß  07/28/91
  202.   Latest Updates available  at  (303)-469-9359   Westminster, CO
  203.  
  204. ───────────────────────────────────────────────────────────────────────────────
  205. The following conditions were met as of  07-29-1991  10:27:02
  206. ACCLVL     (less than)       10
  207.                 AND
  208. FDN/FUP    (greater than)    19
  209.                 AND
  210. LDATE      (less than)       040191
  211. ───────────────────────────────────────────────────────────────────────────────
  212. ACCLVL  FDN/FUP  LDATE     NAME                       FILESDN  FILESUP  
  213. ═══════════════════════════════════════════════════════════════════════════════
  214.      9   20      01/15/91  name removed                    20
  215.      9   20      03/06/91  name removed                    20
  216.      9   21      03/08/91  name removed                    43        2
  217. ───────────────────────────────────────────────────────────────────────────────
  218.       3  of      663 Records found.
  219.  
  220. While you are selecting your Input Variables, you can type in a question mark
  221. in front of the variable to get a simple explanation about the variable.
  222.  
  223. If  you  do  not want all three variables to be searched upon, you can bypass
  224. the rest by typing in a  B  (bypass remaining).
  225.  
  226. In most cases, you can type in  END to abort the program.
  227.  
  228. To run the program, change to the drive:\directory in  where  you have placed
  229. the PCBDBASE.EXE and PCBDBASE.HLP file, and type in PCBDBASE <ENTER>.
  230. It will 1st ask you of the location of the USERS file, and then the variables.
  231.  
  232. For your own protection, in case  you  elect to create bulletins from this, I
  233. have excluded the 1st USER record (yours) from  being displayed at all times.
  234.  
  235. VERSION 1.1 CHANGES:-------------------------------------------------------
  236.  
  237. If you want other people to use this program, BUT want to be able to
  238. EXCLUDE particularly sensitive variables (such as PASSWORD, PHONE #,etc..),
  239. PCBDBASE now has the ability to exclude those variables. You will need to
  240. create a simple text (ascii) file containing the variables (exact spelling).
  241. Example: If you wanted to set PCBDBASE up as a door (using DOORWAY or
  242. similar Communications gateway program for handling the comm ports), but
  243. you DIDN'T want the caller to see someone else's PASSWORD or PHONE #'s, or
  244. the COMMENT fields, you would have a simple text file such as:
  245.  
  246. PASSWORD
  247. HPHONE
  248. BPHONE
  249. COMMENT1
  250. COMMENT2
  251.  
  252. This file MUST be named  PCBDBASE.EX and must be in the same subdirectory
  253. as the .CFG and .HLP files. Any Excluded variable will now be displayed
  254. as 'excluded' and will NOT be available as a search or output variable.
  255.  
  256. Although the program has always had the ability to display a simple one-
  257. line description about the various User Variables, it was never shown on
  258. the screen as how to do it. It now shows:
  259. 'Variable_Name? describes the description of variable' which lets the
  260. user type in the variable (such as BPHONE?) which will show the meaning
  261. of that variable at the bottom of the screen.
  262. -------------------------------------------------------------------------
  263.  
  264. I can be reached on my BBS in Colorado:
  265.  
  266. System Support BBS
  267. Barry Young
  268. Westminster , CO
  269. (303)-469-9359   (PUBLIC line with USR HST 14.4 v.42bis)
  270. (303)-469-9389   (MEMBERS ONLY line with USR HST/DS 14.4 v.32 v.42bis)
  271.  
  272. I also echo-mail both the SMARTNET and METRONET systems. Leave me a message
  273. in the SMARTNET 'SysOp' or 'SmartNet' conference. I presently only carry  a
  274. handful  of  MetroNet  conferences, so  most  likely the  KMAIL or PCBHINTS
  275. conference  would  get  my attention. Neither of those really pertain to my
  276. program, but I read both of those conferences.
  277.  
  278. If you like this program, and continue to use it, you are required to
  279. register this program for continued usage. My other 4 BBS utilities are
  280. Public Domain and can be used and continued by anyone. I feel this program
  281. to be of more value to the SysOp and that is why it was made ShareWare.
  282. Without registrations, I will be more inclined in not producing more
  283. features for anyone besides myself in future updates.
  284.  
  285. If you have any problems, complaints, suggestions for improvements,
  286. PLEASE, feel free to pass them along to me.
  287.  
  288. If you want to register this program, please include $15 made out to
  289. BARRY YOUNG
  290.  
  291. Mail the registration check and a simple form to me at:
  292.  
  293. E.K. Williams & Company
  294. C/O Barry Young
  295. 8774 Yates Drive Suite 210
  296. Westminster, Colorado
  297. 80030
  298.  
  299. Upon receipt, I will mail you the latest version of PCBDBASE on a
  300. 360 kb formatted disk along with the encrypted .KEY file. You will
  301. also be entitled to a one-year membership to my BBS. The normal
  302. Contribution is $10 or $20 a year, each rate gives more access.
  303. This includes having access to either the Public Node or the
  304. Members Node. Both are HST 14.4 9600 baud modems locked in at
  305. 19,200, with the Members Node being a Dual Standard for v.32
  306. connections by other non-USR v.32 9600 modems.
  307.  
  308. ALSO, please  include what your User Name and Password, along with
  309. your CITY/STATE  and Phone #'s. I will add you to the BBS files as
  310. well as mailing out your registered copy of the program.
  311. And ESPECIALLY include the name of your BBS to be displayed on the
  312. top line of the  output. This must be 30 characters or less to fit
  313. on the output.
  314.  
  315. NAME :_________________________________ (1st and last, no handles)
  316. STREET     :______________________________________
  317. CITY/STATE :______________________________________
  318. ZIP CODE   :______________
  319. PHONE #(s) :______________________________________
  320. PASSWORD   :___________________
  321. BBS NAME   :__________________________________   (30 char's or less)
  322.  
  323.  
  324. Besides the PCBDBASE package, I also have available the 4 Public
  325. Domain utilities:
  326.  
  327. PCBCITY.ZIP     35550  05-01-91  PCBoard 14.5 Utility to Display Out of State
  328.                                | Callers. You define what States are to be
  329.                                | excluded from the display.
  330.                                | This can be redirected to a file to be used
  331.                                | as a bulletin on your system.
  332.  
  333. PCBCPS.ZIP      66936  04-20-91  Utility to DISPLAY File Transfer Information
  334.                                | This will create a graph that displays the
  335.                                | various Baud-rate, CPS, and Protocols used.
  336.                                | You can use it to display the graph to your
  337.                                | screen, or use it to be redirected to a
  338.                                | bulletin. Multi-Node capable (file-sharing)
  339.  
  340. PCBDIRSD.ZIP    36988  05-05-91  DISPLAY  PCBoard's DIRectories  Statistics
  341.                                | This will create a graph that displays the
  342.                                | total number of bytes used  and number  of
  343.                                | files used within each of your  DIR files.
  344.                                | You can use it to display the graph to your
  345.                                | screen, or use it to be redirected to a
  346.                                | bulletin. Multi-Node capable (file-sharing)
  347.  
  348. PCBDRST1.ZIP    39458  05-27-91  PCBoard Utility  to  DISPLAY DOOR Statistics
  349.                                | This will create  a graph  that displays the
  350.                                | Door usages of all  or  selected doors used.
  351.                                | You  can use it to display the graph to your
  352.                                | screen,  or  use  it  to  be redirected to a
  353.                                | bulletin. Multi-Node  capable (file-sharing)
  354.  
  355.